<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>菜单管理</title>
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <div class="design-box layui-col-xs12 layui-col-md12 parent_id_box {{#  if(layui.engine_form.PowerField('parent_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">上级</label>
<div class="layui-input-block " data_tag="tree" data_source="admin_menu">
<div  name="parent_id" id="focus_7f9c_1713366111723_70634" type="text" lay-tag="tree"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 title_box {{#  if(layui.engine_form.PowerField('title')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">名称</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="title" id="focus_5d15_1713363819696_32097" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.title}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 icon_box {{#  if(layui.engine_form.PowerField('icon')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">图标</label>
<div class="layui-input-block " data_tag="icon" data_source="">
<input  name="icon" id="focus_833d_1713365767322_89178" type="hidden" readonly lay-tag="icon" autocomplete="off"  value="{{= d.detail.icon}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 type_box {{#  if(layui.engine_form.PowerField('type')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">类型</label>
<div class="layui-input-block " data_tag="radio" data_source="menu_type">
{{#  layui.each(d.source.menu_type.rows, function(index, item){ }}
<input type="radio"  name="type" id="focus_1c8d_1713365650383_85795" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.type){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 position_box {{#  if(layui.engine_form.PowerField('position')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">按钮位置</label>
<div class="layui-input-block " data_tag="radio" data_source="button_position">
{{#  layui.each(d.source.button_position.rows, function(index, item){ }}
<input type="radio"  name="position" id="focus_73a2_1717594746457_55191" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.position){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 is_drop_box {{#  if(layui.engine_form.PowerField('is_drop')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">是否下拉</label>
<div class="layui-input-block " data_tag="radio" data_source="yesno">
{{#  layui.each(d.source.yesno.rows, function(index, item){ }}
<input type="radio"  name="is_drop" id="focus_1de4_1717594888675_38235" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.is_drop){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 btn_class_box {{#  if(layui.engine_form.PowerField('btn_class')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">按钮样式</label>
<div class="layui-input-block " data_tag="select" data_source="btn_theme">
<select name="btn_class" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.btn_theme.rows,d.detail.btn_class)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 open_type_box {{#  if(layui.engine_form.PowerField('open_type')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">打开方式</label>
<div class="layui-input-block " data_tag="radio" data_source="button_type">
{{#  layui.each(d.source.button_type.rows, function(index, item){ }}
<input type="radio"  name="open_type" id="focus_2e07_1717594812694_23205" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.open_type){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 width_box {{#  if(layui.engine_form.PowerField('width')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">弹窗宽</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="width" id="focus_1aa2_1717594864988_31326" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.width}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 height_box {{#  if(layui.engine_form.PowerField('height')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">弹窗高</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="height" id="focus_7f87_1717594866713_70883" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.height}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 href_box {{#  if(layui.engine_form.PowerField('href')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">访问路径</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="href" id="focus_2fb6_1717596212216_31140" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.href}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 power_node_box {{#  if(layui.engine_form.PowerField('power_node')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">授权标识</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="power_node" id="focus_5a18_1718773549636_40931" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.power_node}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 where_box {{#  if(layui.engine_form.PowerField('where')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">显示条件</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="where" id="focus_44b7_1717595752388_39621" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.where}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 sort_box {{#  if(layui.engine_form.PowerField('sort')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">排序</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="sort" id="focus_2e40_1717680975308_03003" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.sort}}" class="layui-input">
</div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindSelect('7f9c_1713366111723_70634','tree','parent_id','admin_menu',2,);
layui.engine_form.BindIcon('833d_1713365767322_89178');

    }
</script>
<script src="/static/js/admin/menu/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/component/markdown/editor/marked.min.js"></script>
<script src="/static/js/admin/menu/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>